package com.scs.application.core.aliyun.sms;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "aliyun.sms")
public class AliyunSmsProperties {

    private String region = "default";
    private String domain = "dysmsapi.aliyuncs.com";
    private String version = "2017-05-25";
    private String accessKeyId;
    private String accessKeySecret;
    private String sign;

    private Map<String, SignTemplate> configs;

    @Data
    private static class SignTemplate {

        private String signName;

        private String templateCode;


    }
}
